package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    //根据关键字寻找用户并显示在页面
    @Select("select id,name,password from user where name like concat('%',#{keyword},'%')")
     List<User> findUser(String keyword);
}
